﻿#ifndef VERIFYCODE_H
#define VERIFYCODE_H

#include "qdatetime.h"
#include <QObject>

class VerifyCode : public QObject
{
    Q_OBJECT
private:
    QString code;
    QDateTime sendTime;
    static QString lib;
public:
    bool flag;
    bool GetStatus();
    void GenerateCode();
    QString GetCode();
    explicit VerifyCode(QObject *parent = nullptr);
    ~VerifyCode();
    bool check(QString);
signals:

};

#endif // VERIFYCODE_H
